﻿html{
    height: 100%;
}
body{
    background-color: #f1f1f1;
    height: 100%;
}
#page-content{
    padding-bottom: 30px;
    min-width: 375px;
    min-height:calc(100%  - 54px);
}
.banner{
    position: relative;
    height: 0px;
    margin-top: 10px;
    padding-bottom: 23%;
    background: #fffe63;
    overflow: hidden;
}
.banner img{
    display: block;
    width: 100%;
}
.list-group {
    margin: 10px 0;
}
.wrap-left .list-group-item {
    position: relative;
    border: none;
    padding: 30px 10px;
    border-bottom: 1px dotted #ccc;
    background-color: #fff;
    margin: 10px 0;
    border-radius: 5px;
    /*cursor: pointer;*/
    transition: box-shadow 0.6s;
}
.wrap-left .list-group-item:hover{
    /*box-shadow: 0 0 3px 2px #5bc0de;*/
    box-shadow: 0 0 5px 0px rgba(145, 145, 145, 0.46);
}
.list-group-item .tag-icon{
    position: absolute;
    right: 0px;
    top: -14px;
    padding: 5px;
    /*min-width: 50px;*/
    /*max-width: 80px;*/
    text-align: center;
    overflow: hidden;
    /*text-overflow: ellipsis;*/
    /*white-space: nowrap;*/
    /*border-radius:75% 40% 75% 40%;*/
    /*background-color: #5bc0de;*/
    /*box-shadow: 0 0 5px 1px #ccc;*/
    /*height: 30px;*/
    /*line-height: 20px;*/
}
.list-group-item .tag-icon a{
    color: #2ab2df;
}
.list-group-item .tag-icon .icon{
    font-size: 36px;
    cursor: pointer;
}

.list{
    width: 100%;
    overflow-y: hidden;
    overflow-x: scroll;
}
.list-column {
    display: none;
    display: flex;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    /*width: 3000px;*/
    flex-wrap: nowrap;
    height:100px;
}
.list-column > li {
    text-align: center;
    width: 100px;
    display: inline-block;
}
.column-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}
.article-photo {
    width: 16%;
    border-radius: 8px;
    padding: 2px;
    box-shadow: 0 0 3px 1px #ccc;
}
.article-section {
    width: 80%;
}
.text-article .article-section{
    width: 100%;
}
#index-article .text-article .article-info{
   position: static;
    margin-top: 20px;
}
#index-article .text-article .article-info .qrcode{
    position: absolute;
    bottom: 13px;
    right: 10px;
    width: 20px;
    height: 20px;
    /*background-color: #ccc;*/
    cursor: pointer;
    box-sizing: content-box;
    /*border:1px dashed #ccc;*/
    /*-webkit-border-radius: 5px;*/
    /*-moz-border-radius: 5px;*/
    /*border-radius: 5px;*/
    background: url("../images/qcrode_bg.jpg") no-repeat center / 20px 20px;
}
#index-article .text-article .article-info .qrcode:hover{
    border-color: #999;
}

#index-article .text-article .article-info .qrcode .code{
    position: absolute;
    width: 120px;
    height: 120px;
    z-index: 1000;
    bottom: 140%;
    left: 50%;
    margin-left: -6px;
    transform: translateX(-50%);
    background: #fff;
    padding: 6px;
    border-radius: 5px;
    box-shadow: 0 0 5px #ccc;
    display: none;
}
#index-article .text-article .article-info .qrcode .code::after{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-top-color: #ccc;
}
#index-article .text-article .article-info .qrcode .code canvas{
    display: block;
    width: 100%;
    height: 100%;
}
.article-photo > img {
    width: 100%;
    border-radius: 8px;
    /*height: 128px;*/
}

#index-article .article-title {
    color: #666;
    font-weight: bold;
    font-family: -apple-system,SF UI Display,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;
    font-size: 18px;
    margin: -7px 0 4px;
    padding-bottom: 10px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid #ccc;
    min-width: 320px;
    text-shadow: 0 0 2px rgba(22,22,22,.5);
}
#index-article .article-content{
    display: block;
    padding: 10px  0px;
    text-indent: 2em;
    font-size: 14px;
    line-height: 1.5;
    color: #999;
    word-break: break-all;
}
#index-article .article-content a{
    color: #999;
}
#index-article .article-info{
    position: absolute;
    bottom: 15px;
    font-size: 12px;
}
.article-info a{
    color: #666;
    font-size: 12px;
    margin: 0 3px;
}
#index-article .article-info a>span {
    color: #e74820;
    font-size: 12px;
    text-decoration: none;
}
#index-article .article-info .article-comment {
     color: #999;
 }
/*#index-article .article-info .article-like:hover {*/
    /*color: red;*/
/*}*/
#index-article .article-info .article-author > img{
    float: left;
    width: 25px;
    margin-top: -5px;
    border-radius: 50%;
    margin-right: 5px;
}
.article-author{
    font-weight: bold;
}
.article-time{
    color: #999;
}
#page-content .pagination{
	margin:0;
}
/*内容左侧*/
.wrap-left{
    padding: 0;
}
/*右侧样式*/
.wrap-right aside{
    margin: 10px  0;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #f1f1f1;
    border-radius: 5px;
}
.wrap-right aside.flags{
    padding: 15px 5px;
}
.wrap-right .tag-board{
    overflow: hidden;
    text-align: center;
}
.wrap-right .aside-top{
    height: auto;
}
/*推荐作者*/
.tag-board>a{
    /*float: left;*/
    display: inline-block;
    font-size: 14px;
    padding: 5px 10px;
    background: #FF9600;
    color: white;
    border-radius: 5px;
    margin: 0 5px 8px 0
}
.tag-board img {
    width: 100%;
    height: 100%;
}
.recommended-authors>span {
    font-size:16px;
}
.recommend-title {
    font-size: 14px;
    color: #969696;
    margin-bottom: 10px;
}
.page-change {
    float: right;
    display: inline-block;
    font-size: 14px;
    color: #969696;
}
.writer-head {
    float: left;
    width: 48px;
    height: 48px;
    margin-right: 10px;
}
.writer-head > img {
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 50%;
}
.writer-name {
    padding-top: 5px;
    height: 25px;
    margin-right: 30px;
    font-size: 14px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.follow-writer {
    float: right;
    margin-top: 5px;
    padding: 0;
    font-size: 13px;
    color: #42c02e;
}
.recomment-writer-list li{
    position: relative;

}
.recomment-writer-list p {
    margin-top: 2px;
    font-size: 12px;
    color: #969696;
}
.hot-article-list li{
    border-bottom: 1px dotted #ccc;
    padding: 5px 0px;
}
.hot-article-list a{
    color: #666;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
/*文章详情页样式*/
#article-content{
    position: relative;
    margin-top: 10px;
    border-radius: 5px;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 0 3px #ccc;
}

#article-content .article-qrcode{
    position: absolute;
    z-index: 1000;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    box-sizing: content-box;
    background: url("../images/qcrode_bg.jpg") no-repeat center / 30px 30px;
}

#article-content .article-qrcode .qrcode::before{
    content: "";
    position: absolute;
    top: -18px;
    left:48px;
    width: 0;
  border: 8px solid transparent;
    border-bottom-color: #ccc;
}
#article-content .article-qrcode .qrcode{
    position: absolute;
    top: 41px;
    left: -40px;
    width: 113px;
    height: 113px;
    padding: 6px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0 0 5px #ccc;
    display: none;
}
#article-content .article-qrcode:hover .qrcode{
    display: block;
}
#article-content .article-qrcode .qrcode canvas{
    display: block;
}
#article-content .article-content img{
    display: block;
    max-width: 100%;
}
#article-content .article-title{
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    font-size: 30px;
    font-weight: 300;
    color:#666;
}
#article-content .article-title h1{
    font-size: 28px;
    font-weight: 600;
    color:#777;
    /*text-shadow: 0 0 10px #f1f1f1;*/

}
#article-content h1,#article-content h2,#article-content h3,#article-content h4,#article-content h5,#article-content h6{
    font-weight: 600;
    text-indent: 0;
    margin: 20px 0;
}
#article-content .article-info a{
    font-size: 14px;
    color: #999;
    font-weight: 700;
}
#article-content .article-info a .fa-heart{
    color: #e74820;
}
#article-content .article-info img{
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

#article-content .article-content{
    padding: 20px 0;
    font-size: 16px;
    text-indent: 2em;
    word-break: break-all;
}
#article-content .article-content pre{
    text-indent: 0;
}
#article-content .article-time,#article-content .article-view{
    font-size: 14px;
    margin-left: 15px;
}

#article-content blockquote{
    text-indent: 2em;
    font-size: 16px;
    color: #666;
    line-height: 24px;
    padding: 10px 14px;
}
#article-content p em{
    font-size: 14px;
    font-weight: 600;
    color: #999;
}
@media (max-width: 768px) {
    .wrap-left,.wrap-right {
        padding: 5px;
    }
    .container{
        /*padding: 0 10px;*/
    }
    .article-photo > img {
        /*height: 90px;*/
    }
    .article-section {
        width: 75%;
    }
    .article-photo{
        width: 14%;
        margin-top: 15px;
    }
    .list-column {
        display: block;
    }
    .article-title{
        font-size: 16px;
    }
    .article-content{
        font-size: 12px;
        line-height: 1.5;
    }
    #index-article .article-info{
        padding: 0;
        bottom: 5px;
    }
    .list-group-item{
        padding: 20px 10px 40px;
    }
    .list-group-item.text-article{
        padding: 20px 10px 10px;
    }
    #article-content{
        padding: 15px;
    }
    #article-content .article-title h1{
        text-align: left;
        font-size: 24px;
    }
    #article-content .article-view{
        display: block;
    }
    #index-article .text-article .article-info .qrcode{
        display: none;
    }
    .banner{
        margin: 0;
    }
    .list-group-item .tag-icon{
        top: -8px;
    }
    .list-group-item .tag-icon .icon{
        font-size: 24px;
    }
    #article-content .article-qrcode{
        display: none!important;
    }
}
@media (max-width: 500px){
    .article-photo{
        width: 23%;
        margin-top: 40px;
    }
}

@media (min-width: 992px) {
    .wrap-left #article-content{
        min-height: 1130px;
    }
}

@media (max-width:991px) {
    .wrap-right{
        padding-right: 0;
        padding-left: 0;
    }
}